package com.qingzhou.web.service.impl.params.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
public class RegionVo {
    @JSONField(ordinal = 1)
    String value;
    @JSONField(ordinal = 2)
    String label;
    @JSONField(ordinal = 3)
    List<RegionVo> children;

    public RegionVo(String value,String label){
        this.value = value;
        this.label = label;
    }
}
